package com.sport.model.setting.dtos;

import com.sport.model.user.bos.AccountUserBo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SportEventsGamesDto {

    /**
     * 运动会项目名称
     */
    @NotNull
    @NotBlank
    private String sportEventsName;

    /**
     * 项目类型，1为径赛，2为田赛，3为接力赛
     */
    @NotNull
    @Range(min = 1, max = 3)
    private Integer sportEventsType;


    /**
     * 项目子类型
     */
    @NotNull
    @NotBlank
    private String sportEventsSonType;

    private AccountUserBo accountUserBo;
}
